package com.inlycat.entity;

import java.io.Serializable;

/**
 * @author jarvan4dev@163.com
 * @since 2015年8月12日下午14:34:23
 * @category 用户收藏实体类
 */

//json转换的时候，用于过滤null字段
//@JsonInclude(Include.NON_NULL)
public class Store implements Serializable {

	private static final long serialVersionUID = -1488311529977465656L;

	private Long id;

	private Long userId;
	
	private Long videoId;

	private Video video;
	
	public Store() {
		super();
	}

	public Store(Long userId, Long videoId) {
		super();
		this.userId = userId;
		this.videoId = videoId;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Long getVideoId() {
		return videoId;
	}

	public void setVideoId(Long videoId) {
		this.videoId = videoId;
	}

	public Video getVideo() {
		return video;
	}

	public void setVideo(Video video) {
		this.video = video;
	}

	@Override
	public String toString() {
		return "Store [id=" + id + ", userId=" + userId + ", video=" + video
				+ "]";
	}

}
